package java44th.group.controller.wx.home;

import java44th.group.bean.admin.vo.BaseRespVo;
import java44th.group.service.wx.home.WxHomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;




/**
 * @projectName: project-second
 * @package: java44th.group.controller.wx.home
 * @className: WxHomeController
 * @author: 杨浩祥
 * @description: TODO
 * @date: 2022/10/14 20:12
 * @version: 1.0
 */

@RestController
@RequestMapping("wx/home")
public class WxHomeController {

    @Autowired
    WxHomeService homeService;

    @GetMapping("index")
    public BaseRespVo index(){
        BaseRespVo baseRespVo = homeService.index();
        return baseRespVo;
    }
}
